<template lant="html">
<div>
  <slot-child>
    <h1>插槽有数据</h1>
  </slot-child>
</div>
</template>

<script>
  import slotChild from '@/page/com/slotChild'
  export default {
    components: {
        slotChild
    }
  }
</script>
<style lang="css">

</style>
